package router

import (
	"api/internal/hander/user"
	"github.com/gin-gonic/gin"
)

func UserRouter(router *gin.RouterGroup) {
	userModel := router.Group("user")
	{
		userModel.POST("upload", user.Upload)
		userModel.POST("videoadd", user.VideoAdd)
		userModel.POST("videolist", user.VideoList)
		userModel.POST("info", user.UserInfo)
	}
}
